package cn.liutao.order.entity.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: liutao
 * @description: 支付记录
 * @date: 2023/12/13 14:39
 */
@Data
@Table("pay_bill")
public class PayBill {
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private Integer UserId;
    private String orderNo;
    private String payNo;
    private String alipayNo;
    private BigDecimal totalPrice;
    private Integer method;
    private Integer type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime payTime;
    private Integer status;
}
